package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/9  17:31
// TOOLS : GoLand
// FILENAME : calcScores.go
// STATEMENT: 计算总分与平均分

func main() {
	var chinese, math, english int = 90, 89, 69
	//总分
	var totalScore = math + chinese + english
	fmt.Println(totalScore) //248
	var avgScore = float64(totalScore) / 3
	fmt.Println(avgScore) //82.66666666666667
}
